package com.zyl.exception;

import com.zyl.enums.ArticleEnum;
import com.zyl.pojo.Article;

/**
 * @Author: Zyl
 * @Param:
 * @return:
 * @Description:
 */
public class ArticleException extends RuntimeException {


    public ArticleException(ArticleEnum articleEnum){
        super(articleEnum.getMsg());
    }
    public ArticleException(String error){
        super(error);
    }
}
